//
//  NSString+Common.m
//  MyLibrary
//
//  Created by 李勇 on 2019/2/17.
//

#import "NSString+Common.h"

@implementation NSString(Common)

-(NSString*)capitalize{
    if(self == nil || [self length] == 0) return self;
    return [[self substringToIndex:1].uppercaseString stringByAppendingString:[self substringFromIndex:1]];
}

@end
